package com.milo.springboot.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {

    @Bean
    //@ConditionalOnBean(Bean2.class)
    public Bean1 bean1(){
        return new Bean1();
    }


}
